In here are the list of things I did for a particular hour or day. Also included here are the screenshots of games I played, or videos I watched or listened to, or just random things I stumbled upon. I'll occasionally write down what I'm thinking, or things I'm planning to do.
So I spent about 30 minutes scrolling through bluesky, mostly on discover and video game feeds. Among the hot takes and content shilling, I didn't really see anything of interest, except for some nice drawings I saw. I want to see less of people giving hot takes or promoting their own content, and more people just talking about what they did or create, boring or uninteresting as it may be.
It all comes down to curating my own feed and following the right people. I'm following one person who sort of talks about boring mundane things, and that person is a voice actor learning software engineering. What a weird combination of interest, I don't see that much often. I'll lurk and see what sort of things he create.
Didn't really do much on this weekend, which how it should be. Relax, and don't think about anything, so that when Monday comes in, my mind will be fresh anew.
The week is almost over, but what did I even do this week? Luckily, with notes and screenshots, I should have a fairly good idea of what I did. Let's see... Watch anime, watch vtubers, programming, study, and ad infinitum. Basically routine stuffs I do everyday on my computer.
As to the specifics, I mostly worked on improving moon-temple and adding stuffs on my personal site. And oh yeah, bluesky. It hasn't become a habit to regularly scroll bluesky like I do with HN and reddit. Which is understandable, as I also find it hard to get into twitter-type of content.
I do kind of what to use bluesky more, since it's one way of becoming more social. I should get out of my comfort zone and make it a habit of interacting with people online, and not just lurking. Maybe, that's one step towards getting rid of my social anxiety.
...
I should remind myself that I'm uploading this text onto a public site. I don't think I should be writing down my personal problems here. But if I filter that much thought, what is there left to write? Not that anyone would even bother reading this shit. Although there's always the problem of potential employers sniffing through my possibly inciminating writings. Then again, I'm just being myself, and if being myself is grounds for disqualification, then so be it.
I finally defeated the dragon chicken boss on Ys. It was quite the rush, I barely have any health left, but I managed to defeat the chicken. Has that boss part always been that hard?
I checked out sympy, a computer algebra system in python. sqrt(x)/x does indeed simplify to 1/sqrt(x). ... It took me too long to realize that sqrt(x) is not x^-2, but actually x^0.5
Nah, fuck this shit, I'm undoing all the changes I made today to moon-temple, I just added a bunch of pasta spaghetti monstrosity just to save me save keystrokes when reloading my changes.
On an unrelated note, I think I want to create a mini-simple computer algebra system, like an interactive math equation builder. That way, I'll have more fun manipulating equation with a keyboard. It'll be simple, just a symbolic modifier.
Something like this:
repl:
> expr = createExpression()
> expr // (nothing)
> expr.add(sym.x) // x
> expr.add(sym.x) // x + x
> expr.mul(sym.y) // (x + x)y
> expr.distribute() // xy + xy
> expr.factor(sym.x) // x(y + y)
> expr[1].combine() // x2y
> expr.swap(1,2) // 2yx
I've been trying to run a file watcher using neovim lua scripts using like nvim -l script.lua, but nothing is working so far, even the official examples. I'm guessing libuv doesn't work well with -l.
Or not, I should ask reddit or other neovim support channels.
Still reading the neovim docs, I'm looking for function that I can use. I'm thinking of creating a side-by-side table showing comparing lua and vimscript. But then again, I really don't know much vimscript. I guess I could just copy the code snippet from the docs.
Worked on the neovim guide, I didn't get to do much, mostly read the neovim docs. I'm not even sure how I should organize the document, or if this is even worth spending my time on.
I continued reading the calculus book. I got stuck while following an example problem where sqrt(∆x)/∆x = 1/sqrt(∆x) and ∆x is a positive infinitesimal.
I can only get sqrt(∆x)/∆x = ∆x⁻²/∆x = 1/∆x∆x² = 1/∆x³ There's no way x³ = x⁻²
Oh well, maybe just a typographic error, or I'm just dumb. Not important anyway. Moving on.
I'm going drive my humor a little more. Previously I said my pronouns would: he/huh/potato/orc, but that's barely sufficient if I'm aiming to optimal political prowess. Asking my pronouns should be akin to navigating a deeply intricate labrynith of recursive state machines, each pronoun infinitely contingent on a random, ambiguous state. This way, no mortal sentient being could possibly get my pronouns right, ever, under any circumstances. Asking for my pronouns is a guaranteed zero-sum, losing game: the only winning move is not to play (or kicking me in the nuts works too).
... The "joke" isn't as funny as I thought it would be.
I started creating an outline for some guides/tutorial that I'm planning to write. My motativation for this is that writing might help me get a foot in the technical writing. If that fails, I could also try selling the guide on gumroad or something. Worst case scenario is that no one gives a fuck about it, but that doesn't sound too bad since I learned something myself.
Cleaned up my code yesterday. I tried using `loadfile` instead of `dofile` to run page script, so that I could avoid problems with messing up page state when there are concurrent page requests. I reverted my changes though since `require` behaves strangely when inside a loadfile env, the globals couldn't be resolved anymore.
Not a problem I guess. Oh wait, I do think this is definitely not a problem because redbean forks a new subprocess for each page request, so each page request state is isolated.
As usual, I scrolled through HN with my mind on autopilot while sipping coffee. Also, I see bluesky is now open for public. In my own inaccurate description, bluesky is a social network for the purpose of competing and luring existing dissatisfied twitter users.
I don't really use twitter or any social network, but out of curiosity I signed up for bluesky anyway last night on my phone, in the middle of the night.
This morning I scrolled over the "Video game" feeds on bluesky. And... I barely see anything remotely related to video games. For a second, I thought I mistakenly signed up for an esoteric dating site. Of course, the reason for that is because there's an influx of new users coming in, so most of posts are "re-introduction" posts that consists of the following name, pronouns, location, hobbies.
I know when a I see a pronoun preference listed, there's bound to be eggshells scattered everywhere[*]. I've heard of tales where blood filled the streets because a pronoun was mistaken (okay, I made that up). But I will refrain from making any direct remarks with regards to how these people look.
Still, I will note down some (probably wrong) cursory observation. And that is, a lot of those who listed she/her as their pronoun will likely include "gay" in their hobbies/interest, and their strong muscular facial structure indicates a biological male gender. In contrast, people who listed he/him actually look like a normal male person, and not who transcended. My question is, why is that? Or not, I'm too distracted to even make a objective observation. Trying to infer gender based on facial structure is exactly the kind of thing that would pour gasoline over the eggshells, so I don't know why I'm still writing.
Anyways, I noticed some dude listed lemon as his pronoun, and a girl used fae/faer as the pronoun. That's cool, I didn't know you could use any word as a pronoun. Okay, I've decided then, if anyone asks for my pronouns, it would be: he/huh/potato/orc
[*] https://www.collinsdictionary.com/dictionary/english/walk-on-eggshells
What did I even do today...
I played some YS this late morning, I still can't beat the dragon chicken boss though. I was supposed to continue reading that calculus book, but my mother was being (extra) disruptive today, basically telling me to get a job.
This evening I watched some anime while on coffee break usual. Then, I worked on moon-temple to add autoreload when a file has changed. It doesn't look like redbean has built-in filesystem monitoring, probably because there's no easy way of doing cross-platform filesystem monitoring. So I had to resort in creating my own in lua, using polling+stat. It looks very hacky, but surprisingly works just fine.
Autoreload is not even an important, I just feel like doing it.
Neat, github actions is actually pretty handy. I used to commit the generated html files before, but with github actions, the site is automatically rebuilt when I push new commits, and I only need to commit the lua source files.
Yeah, I like this setup. I like the moon-temple too, it's the best static site generator I've made so far. The whole dependency for building the site is a single cross-platform 2MB executable file.
I also like the DSL I've made with lua. It's really expressive, it's inpired by JSX, dare I say, even more so. I like writing code with it.
There, I modified the code for the daily logs page so the screenshots and log content are grouped by day, and by hour for each day. Well, it's a slow day, that's about the only programming I did for today.
I should do a test deploy on github pages and see how it long it loads with a bunch of images in it.
Okay, I finally understood now what differential calculus is. Or at least, I have a high-level intuitive understanding of what it means to differentiate a function. It's not actually a difficult concept, it's just a higher-order function that returns the slope of f at point x with an infinitesimal change ε, to state it loosely and imprecisely.
It's not like I could now compute the derivatives of any function I could find in the wild, but at least I know how it works or what it means, which was my original goal: not to become a mathematician, but to learn how to apply math with programming.
Too lazy to write anything today. I did the minimum physical chores, I didn't give the other 7 adult dogs a bath today, maybe tomorrow. At least, I least I took some screenshots of some of the things I'm watching or playing. It's not like I need to accurately keep track of the time for each things I did, just something I need to give me an idea what I did, or look back on.
Sometimes I do forget to screenshot though or take note of what I'm doing. I wrote a tool before that periodically takes screenshot of my screen, but that it became quickly a chore to sort through the dozens of screenshots.
A better way is just to have a notification that asks me what I'm doing every hour or two.
I gave the six puppies a bath, which took me around two hours to do.
I played oath in felghana for about an hour or two. Not sure if I should even write these down, oh well, I'll see if it becomes a habit, or I'll just quickly get tired of writing inconsequential things down.
I got up from bed around 9:30, I cleaned up a lot of dog poop, then cooked me some omelette. As usual, I browsed HN, reddit and youtube while sipping coffee.
I also modified the screenshot script a little so I could take screenshot of the entire app window, in addition to being able to select a region of the screen.
I've now wrote some code to automatically embed the screenshots on my log page. Look at the disgustingly horrible code. Oh well, it works for now, I'll modify it a month later once it starts running too slow.
Also listening to some ragnarok online BGM. I never got to play the game, but I still remember my highschool buddies talking about it back in the day. I kind of want to play the offline version of the game though. The art style sort of looks like trails in the sky.
Uhh, I just spend almost an hour adding a vim abbreviation to insert the current date time. So I would type cdt in insert mode, and a date gets inserted.
Not exactly what was I planning on doing this early evening of friday...
It's not like I have better things to do though.
I took a nap after my last log, and I just finished watching two anime episodes while drinking coffee.
I got up from my computer around 13:00. So in three hours, I did the following in order:
I got distracted and looked up how to insert ≈ and ≉ in vim. Vim has default digraph entry for ≈ (ctrl+k ?2), but not ≉. So I made a brief visit to the vim docs to figure out how to add digraphs. I did the following:
:digraph /2 2249
But this doesn't work. The 2249 is the hex UTF-16 encoding for ≉. Vim actually wants a decimal number, so I convert hex to decimal:
:digraph /2 8777
And it works. Actually, I'm using lua to configure nvim, so:
vim.cmd.digraph("/2", 8777)
≉≉≉≉≉≉≉≉≉≉≉≉≉≉≉
Math nerds and their silly symbols. And oh yeah, a ≈ b means a is infinitely close to b, or that a -b is an infinitesimal. Otherwise a ≉ b.
I'm currently reading "Elementary calculus: An infinitesimal approach". I've been slowly reading for about an hour each day. But just a random thought, I should make a simple youtube web frontend, so that I could listen to longer videos while I sleep. I want the videos to stop playing automatically after 30 minutes, so it doesn't waste my phone batteries when I'm already deep slumber to listen.
I spent about a 0.5 hour browsing HN and reddit while sipping some coffee and munching on some bananas. I briefly went over the "Who's hiring thread" and scanned for jobs that I might qualify. As usual, most posts are US/EU constrained by time or location. I basically have abysmal chances of getting even an interview, so I'm not even going to bother applying this time.
site last updated on 2024-10-16 | created with moontpl